var personObj = {
  running: function () {
    console.log("running");
  },
};

function createStudent(name) {
  var stu = Object.create(personObj);
  stu.name = name;
  stu.studying = function () {
    console.log("studying~");
  };
}

var stuObj1 = createStudent("why");
var stuObj2 = createStudent("frank");
